package com.bean;

import lombok.Data;

@Data
public class Post {
    private Long id;
    private String title;
    private String content;
    private String author;
    private String cover;
    private String created;

    public Post() {
    }

    public Post(String title, String content, String author, String cover) {
        this.title = title;
        this.content = content;
        this.author = author;
        this.cover = cover;
    }
}
